/****** Object:  Stored Procedure [dbo].spThanhToanDelete Script Date: 6/23/2012 ******/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[spThanhToanDelete]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spThanhToanDelete]
GO

/******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:					Description:
**		--------	--------				-----------------------------------
**		25/06/2012	SongTM					Innit created
*******************************************************************************/

CREATE PROCEDURE [dbo].[spThanhToanDelete]
(
	@MaTT nvarchar(12)
)
WITH ENCRYPTION
AS

SET NOCOUNT ON

DELETE FROM [dbo].[tbl_ThanhToan]
WHERE
	[MaTT] = @MaTT
GO

--GRANT EXECUTE ON [dbo].[spThanhToanDelete] TO [sa]
--GO
